package com.cnswhy.cloud.common.core.base;

import lombok.Data;
import org.slf4j.MDC;

import java.io.Serializable;

import static com.cnswhy.cloud.common.core.context.BaseContextConstants.LOG_TRACE_ID;

@Data
public class BaseMessage  implements Serializable {
    private static final long serialVersionUID = 5220480734315507213L;
    private String traceId = MDC.get(LOG_TRACE_ID);
}
